package com.example.xyxwebbackend001.model.vo;

import com.fasterxml.jackson.annotation.JsonRawValue;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import java.util.List;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class ComArtDetailsVO {
    private Integer comId;
    private String title;
    private String coverPath;
    @JsonRawValue
    private String content;

    @Data
    @AllArgsConstructor
    @NoArgsConstructor
    public static class ContentItem {
        private Integer coId;
        private String type;
        private String content;
        private List<String> listItems;
        private String videoPath;
    }
}
